Skip to content

Conversation

@Alexgars73
Copy link

Standard migation to 19.0

alexis-via and others added 30 commits October 14, 2025 09:06
…the Sorrento Code sprint 2016

Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug OCA#129)
- remove workflow of payment.order
- add wizard of selection of move lines to pay
* IMP: prevent deleting a move-line that is linked to a payment order line
* FIX: better filtering of move lines already included in open payment order
Take into account all the remaining remarks of Frederic Clementi dated May 30:
- see multi-currency amounts in the wizard to add transaction lines
- add help msg on bank payment lines
* IMP: extensibility of _prepare_move

  Pass the list of bank lines to _prepare_move so it is possible to customize the move (eg it's name) based on the lines being paid.

* FIX: payment order: add missing onchange dependencies in move selection wizard
* Fix crash when selecting a customer that has a direct debit payment mode but no mandate
* Hide many fields when payment_order_ok is False on a payment_mode
* Fix payment line communication when the move line is not linked to an invoice (problem found when porting donation_debit_debit to v9)
* For the communication field, if self.move_id.ref is False, fallback on self.move_id.name
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug OCA#300)
* FIX: Bug OCA#353 crash when selecting a payment mode that has a variable link to a bank account
* FIX: Add 'post_move' option on account.payment.mode with default True, to keep the previous behavior
* IMP: Explicit error when bank account is missing on bank journal
* IMP: Add field default_date_prefered on payment mode.
…ent order + allow to cancel an uploaded payment order
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
context of payment orders, she should ocus on the amount that
is due to be paid. In this method we are forcing to display both
the amount due in company and in the invoice currency.

We then hide the fields debit and credit, because they add no value.
When adding to a payment order from invoices, the payment mode
considered is the one in the invoice, but once you have confirmed it,
you can't change it, so if you change the payment mode in the journal
items, it doesn't make the difference.

With this change, this is taken into account for adding to the
payment order(s) properly.
- when manually encoding a payment line, get company currency as default currency
- Search on payment order numbers
- Direct search on bank journal name in payment orders
- remove widget="selection" on account.payement.mode : this object is rarely modified, so widget='selection' is not a time saver, but we miss the HTML link, which can be pretty convenient to check the configuration.
micheledic and others added 25 commits October 14, 2025 09:06
Method ``_get_reconciled_invoices_partials()`` returns 2 lists:
- the first one contains triplets defined as (account.partial.reconcile record, amount, account.move.line record)
- the second one contains account.move IDs

Merging the 2 lists and cycling over them with
```
for (_x, _y, payment_move_line) in list1 + list2:
    ...
```
resulted in ``TypeError: cannot unpack non-iterable int object``.

This commit fixes this bug.
Having 2 lines for the reference (one for the type and the other for
the reference itself) steals vertical space to the really important
things in the invoice: the lines, so we compact them into one line
for better ergonomics.
Odoo removed the blocked field on account.move.line, so this filter is no longer needed.
odoo/odoo@67dc715
These fields are no longer used in business logic, only in tests.
Currently translated at 98.5% (210 of 213 strings)

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/fr/
Currently translated at 100.0% (213 of 213 strings)

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/it/
Currently translated at 100.0% (213 of 213 strings)

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/
Currently translated at 100.0% (206 of 206 strings)

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/
Currently translated at 100.0% (213 of 213 strings)

Translation: bank-payment-18.0/bank-payment-18.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order/it/
@Alexgars73 Alexgars73 force-pushed the 19.0-mig-account_payment_order branch from a0046ff to 7b30dcd Compare October 14, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.